NDepend.API Documentation
ParentTypes(IEnumerable<IField>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > ParentTypes Method : ParentTypes(IEnumerable<IField>) Method
This sequence of IField objects.
Returns a sequence of IType objects, containing all IMember.ParentType objects of all IField objects contained in this sequence fields.
Syntax
[Extension()]
public static IEnumerable<IType> ParentTypes( 
   IEnumerable<IField> fields
)

Parameters

fields
This sequence of IField objects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List